package com.tms.mail.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 油费管理对象 mail
 *
 * @author ruoyi
 * @date 2024-11-01
 */
public class Mail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    @Excel(name = "编号")
    private Long id;

    /** 车主 */
    @Excel(name = "车主")
    private String owner;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String plateNumber;

    /** 加油量(L) */
    @Excel(name = "加油量(L)")
    private BigDecimal fuelAmount;

    /** 油费(元) */
    @Excel(name = "油费(元)")
    private BigDecimal mailFee;

    /** 支付方式 */
    @Excel(name = "支付方式")
    private Long paymentMethod;

    /** 操作人 */
    @Excel(name = "操作人")
    private String operator;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setOwner(String owner)
    {
        this.owner = owner;
    }

    public String getOwner()
    {
        return owner;
    }
    public void setPlateNumber(String plateNumber)
    {
        this.plateNumber = plateNumber;
    }

    public String getPlateNumber()
    {
        return plateNumber;
    }
    public void setFuelAmount(BigDecimal fuelAmount)
    {
        this.fuelAmount = fuelAmount;
    }

    public BigDecimal getFuelAmount()
    {
        return fuelAmount;
    }
    public void setMailFee(BigDecimal mailFee)
    {
        this.mailFee = mailFee;
    }

    public BigDecimal getMailFee()
    {
        return mailFee;
    }
    public void setPaymentMethod(Long paymentMethod)
    {
        this.paymentMethod = paymentMethod;
    }

    public Long getPaymentMethod()
    {
        return paymentMethod;
    }
    public void setOperator(String operator)
    {
        this.operator = operator;
    }

    public String getOperator()
    {
        return operator;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("owner", getOwner())
            .append("plateNumber", getPlateNumber())
            .append("fuelAmount", getFuelAmount())
            .append("mailFee", getMailFee())
            .append("paymentMethod", getPaymentMethod())
            .append("remark", getRemark())
            .append("operator", getOperator())
            .append("createTime", getCreateTime())
            .toString();
    }
}
